#!/bin/bash
# Program:
#        This program will show the user's choice
# History:
# 2010/06/06        xuzhi       First Release
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

read -p "Please input (Y/N): " yn
[ "$yn" = "Y" -o "$yn" = "y" ] && echo "OK, continue" || \
([ "$yn" = "N" -o "$yn" = "n" ] && echo "Oh, interrupt" || \
echo "I don't know what is your choise")

